package com.xiaoq.shop.entity;

import com.xiaoq.MongoEntity;
import org.mongodb.morphia.annotations.Entity;

import java.util.List;

/**
 * @author xinpeng created on 16/9/19-下午5:33.
 */
@Entity(value = "catalog_collection",noClassnameStored = true)
public class CatalogEntity extends MongoEntity {

    private String catalogCode;

    private String catalogName;

    private String catalogLogoUrl;

    private List<SPUCatalog> spuCatalogs;

	public String getCatalogCode() {
		return catalogCode;
	}

	public void setCatalogCode(String catalogCode) {
		this.catalogCode = catalogCode;
	}

	public String getCatalogName() {
		return catalogName;
	}

	public void setCatalogName(String catalogName) {
		this.catalogName = catalogName;
	}

	public String getCatalogLogoUrl() {
		return catalogLogoUrl;
	}

	public void setCatalogLogoUrl(String catalogLogoUrl) {
		this.catalogLogoUrl = catalogLogoUrl;
	}

	public List<SPUCatalog> getSpuCatalogs() {
		return spuCatalogs;
	}

	public void setSpuCatalogs(List<SPUCatalog> spuCatalogs) {
		this.spuCatalogs = spuCatalogs;
	}
}

